#!/usr/bin/env bash
docker ps -a|grep nginx80 |awk '{print $1}'|xargs docker stop
docker ps -a|grep nginx80 |awk '{print $1}'|xargs docker rm
# 启动nginx
docker run --name nginx80 \
--link php56:php56 \
--link php72:php72 \
--link php71kod:php71kod \
-it \
-v ~/workspace/dockers/wuhua/nginx/conf:/etc/nginx \
-p 80:80 \
--restart=always \
wolferhua/nginx:1.13.6 bash



